﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL.Entities
{
    public class Employee
    {
        /// <summary>
        /// 主键
        /// </summary>
        public Guid EmployeeId { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string DisplayName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string Gender { get; set; }
        /// <summary>
        /// 籍贯
        /// </summary>
        public string Hometown { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string PhoneNumber { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string IdentityNumber { get; set; }
        /// <summary>
        /// 人员类型
        /// </summary>
        public string EmployeeType { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string DepartmentId { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string DepartmentName { get; set; }
        /// <summary>
        ///工号
        /// </summary>
        public string EmployeeNumber { get; set; }
        /// <summary>
        /// 岗位
        /// </summary>
        public string Post { get; set; }
        /// <summary>
        /// 复工日期
        /// </summary>
        public DateTime? ReworkDate { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public int Age { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 进场场状态
        /// </summary>
        public string EmployeeStatus { get; set; }
        /// <summary>
        /// 进退场记录
        /// </summary>
        public ICollection<InOut> InOuts { get; set; }
    }

}
